package cm.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;

/**
 * @author: yxh
 * @Description: 枚举类对应key
 * @Date: Created in 2024/10/24 15:29
 * @Modified By: 相应的枚举注解 @EnumKey 即表示通过该字段来获取枚举
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {FIELD, METHOD})
public @interface EnumKey {
}
